package day4;

import java.util.Date;

/**
 * @author oldliu
 * @since 1.0
 */
public class DateTest {
    public static void main(String[] args) {
        Date d=new Date(1000);//Xianzai
        System.out.println(d);
        System.out.println(d.getTime());//1970-1-1
        System.out.println(System.currentTimeMillis());
    }
}
